﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/MasterPage.master" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="User_News" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%--<img src="images/NEWp.png" alt=""  />--%>
 <div style=" margin-left:10px;"><img src="images/tintuc.png" alt=""  />
   </div>
    
   <div style="margin-top: 20px; margin-bottom: 20px;"> 
       <asp:DataList ID="dlistNews" runat="server" Width="672px">
       <ItemTemplate>
                    <table class="style1" style="width: 100%">
                        <tr>
                            <td rowspan="2" width="168">
                                <a href='<%# "NewsDetail.aspx?MaTT="+Eval("MaTT")%>'>
                                <div style=" margin-left:10px;"><asp:Image ID="Image1" 
                                    runat="server"  width="207px" height="186px" 
                                    ImageUrl='<%# "~/User/HinhAnh/"+Eval("HinhAnh") %>' /></a></div>
                            </td>
                            <td class="style3" valign="top">
                                <asp:Image ID="Image2" runat="server" ImageUrl="~/User/images/icon-new.gif" />
                                <asp:HyperLink ID="HyperLink2" runat="server" Font-Bold="False" 
                                    Font-Size="Medium" ForeColor="Blue" 
                                    NavigateUrl='<%# "~/User/NewsDetail.aspx?MaTT="+Eval("MaTT") %>' 
                                    Text='<%# Eval("TieuDe") %>' Font-Underline="False"></asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td class="style3" valign="top" >
                                <div style="margin-left: 10px; margin-top:15px;"><asp:Label ID="Label2" runat="server" Text='<%# Eval("MoDau") %>' Font-Size="10pt"></asp:Label></div>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
       </asp:DataList>
       </div>
   
</asp:Content>

